GETOPT

Section: PVM Version 3.4 (3PVM)
Updated: 4 April, 1994
Index Return to Main Contents
 

NAME

pvm_getopt - Returns the value of libpvm options.

 

SYNOPSIS

C       int val = pvm_getopt( int what )

Fortran call pvmfgetopt( what, val )

 

PARAMETERS

what
Integer defining option to get. One of:
PvmRoute            1    Message routing policy
PvmDebugMask        2    Libpvm debug mask
PvmAutoErr          3    Auto error reporting
PvmOutputTid        4    Stdout destination for children
PvmOutputCode       5    Output message tag
PvmTraceTid         6    Trace data destination for children
PvmTraceCode        7    Trace message tag
PvmFragSize         8    Message fragment size
PvmResvTids         9    Allow messages to reserved tags and TIDs
PvmSelfOutputTid   10    Stdout destination
PvmSelfOutputCode  11    Output message tag
PvmSelfTraceTid    12    Trace data destination
PvmSelfTraceCode   13    Trace message tag
PvmShowTids        14    pvm_catchout prints task ids with output
PvmPollType        15    Message wait policy (shared memory)
PvmPollTime        16    Message spinwait duration

val
Integer returning the value of the option.

 

DESCRIPTION

The routine pvm_getopt returns the value of the specified option in PVM. For a discussion of options and values, see pvm_setopt.

If an error occurs, the PVM error code is returned in place of the option value.

 

EXAMPLES

C:
        val = pvm_getopt( PvmFragSize );
Fortran:
        CALL PVMFGETOPT( PVMAUTOERR, VAL )

 

ERRORS

This error condition can be returned
PvmBadParam
giving an invalid value.

 

SEE ALSO

pvm_setopt(3PVM)


 

Index

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
EXAMPLES
ERRORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:05:12 GMT, November 11, 2022